package com.mydomain.Bodega;

import com.mydomain.Bodega.*;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;
import java.util.Arrays;

@Name("pgBuffercacheList")
public class PgBuffercacheList extends EntityQuery<PgBuffercache> {

	private static final String EJBQL = "select pgBuffercache from PgBuffercache pgBuffercache";

	private static final String[] RESTRICTIONS = {};

	private PgBuffercache pgBuffercache;

	public PgBuffercacheList() {
		pgBuffercache = new PgBuffercache();
		pgBuffercache.setId(new PgBuffercacheId());
		setEjbql(EJBQL);
		setRestrictionExpressionStrings(Arrays.asList(RESTRICTIONS));
		setMaxResults(25);
	}

	public PgBuffercache getPgBuffercache() {
		return pgBuffercache;
	}
}
